#include <iostream>
#include <vector>

#include "config.h"


void OutputVersion(){
    std::cout << "version: " << VERSION_MAJOR << "." << VERSION_MINOR << std::endl;
}

void CXX11(){
    auto ptr = new std::vector<int>();
    ptr->push_back(11);
    delete ptr;
    ptr= nullptr;

    const double v = std::stod("1111");
    std::cout << "CXX11:" << v << std::endl;
}

/*  
void CallAdd(){
    int left = 100;
    int right = 20;
    std::cout << "add " << left << "+" <<  right << " equal to " << add(left, right) << std::endl;
}*/

int main(int argc, char * argv[])
{
    std::cout << "hello world" << std::endl;
    OutputVersion();
    CXX11();
    return 0;
}
